package _1._0._0._127.ormrpc.services.WSImportCSSPManagerFacade;

public class WSImportCSSPManagerFacadeSrvProxyProxy implements WSImportCSSPManagerFacadeSrvProxy {
    private String _endpoint = null;
    private WSImportCSSPManagerFacadeSrvProxy wSImportCSSPManagerFacadeSrvProxy = null;

    public WSImportCSSPManagerFacadeSrvProxyProxy() {
        _initWSImportCSSPManagerFacadeSrvProxyProxy();
    }

    public WSImportCSSPManagerFacadeSrvProxyProxy(String endpoint) {
        _endpoint = endpoint;
        _initWSImportCSSPManagerFacadeSrvProxyProxy();
    }

    private void _initWSImportCSSPManagerFacadeSrvProxyProxy() {
        try {
            wSImportCSSPManagerFacadeSrvProxy = (new WSImportCSSPManagerFacadeSrvProxyServiceLocator()).getWSImportCSSPManagerFacade();
            if (wSImportCSSPManagerFacadeSrvProxy != null) {
                if (_endpoint != null)
                    ((javax.xml.rpc.Stub) wSImportCSSPManagerFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
                else
                    _endpoint = (String) ((javax.xml.rpc.Stub) wSImportCSSPManagerFacadeSrvProxy)._getProperty("javax.xml.rpc.service.endpoint.address");
            }

        } catch (javax.xml.rpc.ServiceException serviceException) {
        }
    }

    public String getEndpoint() {
        return _endpoint;
    }

    public void setEndpoint(String endpoint) {
        _endpoint = endpoint;
        if (wSImportCSSPManagerFacadeSrvProxy != null)
            ((javax.xml.rpc.Stub) wSImportCSSPManagerFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

    }

    public WSImportCSSPManagerFacadeSrvProxy getWSImportCSSPManagerFacadeSrvProxy() {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy;
    }

    public String[][] importCSSPStandard(String number, String name, String description, int type, boolean isBasic) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCSSPStandard(number, name, description, type, isBasic);
    }

    public String[][] importCustomerInfo(String number, String name, String foreignName, String shortName, int customerKind, String barCode, String memonicCode, String bizAnalysisCodeNumber, String parentNumber, boolean isInternalCompany, String interNumber, String bizRegisterNo, String busiLicence, String busiExequatur, String authentication, String taxNumber, String industryNumber, String address, String countryNumber, String provinceNumber, String cityNumber, String regionNumber, String artificialPerson, int version, String freezeOrgUnit, int usedStatus, String[] standardNum, String[] groupNumber, String cuNumber) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCustomerInfo(number, name, foreignName, shortName, customerKind, barCode, memonicCode, bizAnalysisCodeNumber, parentNumber, isInternalCompany, interNumber, bizRegisterNo, busiLicence, busiExequatur, authentication, taxNumber, industryNumber, address, countryNumber, provinceNumber, cityNumber, regionNumber, artificialPerson, version, freezeOrgUnit, usedStatus, standardNum, groupNumber, cuNumber);
    }

    public String[][] importCustomerInfo(String number, String name, String foreignName, String shortName, int customerKind, String barCode, String memonicCode, String bizAnalysisCodeNumber, String parentNumber, boolean isInternalCompany, String interNumber, String bizRegisterNo, String busiLicence, String busiExequatur, String authentication, String taxNumber, String industryNumber, String address, String countryNumber, String provinceNumber, String cityNumber, String regionNumber, String artificialPerson, int version, String freezeOrgUnit, int usedStatus, String[] standardNum, String[] groupNumber) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCustomerInfo(number, name, foreignName, shortName, customerKind, barCode, memonicCode, bizAnalysisCodeNumber, parentNumber, isInternalCompany, interNumber, bizRegisterNo, busiLicence, busiExequatur, authentication, taxNumber, industryNumber, address, countryNumber, provinceNumber, cityNumber, regionNumber, artificialPerson, version, freezeOrgUnit, usedStatus, standardNum, groupNumber);
    }

    public String[][] importSupplierInfo(String number, String name, String memonicCode, String foreignName, String bizAnalysisCodeNumber, String shortName, String parentNumber, boolean isInternalCompany, String interNumber, String taxNumber, String taxRegisterNo, String bizRegisterNo, String busiLicence, String busiExequatur, String authentication, String industryNumber, String address, String countryNumber, String provinceNumber, String cityNumber, String regionNumber, String artificialPerson, int version, String freezeOrgUnit, int usedStatus, String[] standardNum, String[] groupNumber, String cuNumber) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importSupplierInfo(number, name, memonicCode, foreignName, bizAnalysisCodeNumber, shortName, parentNumber, isInternalCompany, interNumber, taxNumber, taxRegisterNo, bizRegisterNo, busiLicence, busiExequatur, authentication, industryNumber, address, countryNumber, provinceNumber, cityNumber, regionNumber, artificialPerson, version, freezeOrgUnit, usedStatus, standardNum, groupNumber, cuNumber);
    }

    public String[][] importSupplierInfo(String number, String name, String memonicCode, String foreignName, String bizAnalysisCodeNumber, String shortName, String parentNumber, boolean isInternalCompany, String interNumber, String taxNumber, String taxRegisterNo, String bizRegisterNo, String busiLicence, String busiExequatur, String authentication, String industryNumber, String address, String countryNumber, String provinceNumber, String cityNumber, String regionNumber, String artificialPerson, int version, String freezeOrgUnit, int usedStatus, String[] standardNum, String[] groupNumber) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importSupplierInfo(number, name, memonicCode, foreignName, bizAnalysisCodeNumber, shortName, parentNumber, isInternalCompany, interNumber, taxNumber, taxRegisterNo, bizRegisterNo, busiLicence, busiExequatur, authentication, industryNumber, address, countryNumber, provinceNumber, cityNumber, regionNumber, artificialPerson, version, freezeOrgUnit, usedStatus, standardNum, groupNumber);
    }

    public String[][] importSupplierCompanyInfo(String number, String orgNumber, boolean isFreezePayment, String paymentTypeNumber, String settlementTypeNumber, String bankName, String bankAccount, String currencyNumber, String accountClassNumber, String contactPerson, String contactPersonPost, String phone, String fax, String email, String postalcode, String mobile, String freezeOrgUnitNum) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importSupplierCompanyInfo(number, orgNumber, isFreezePayment, paymentTypeNumber, settlementTypeNumber, bankName, bankAccount, currencyNumber, accountClassNumber, contactPerson, contactPersonPost, phone, fax, email, postalcode, mobile, freezeOrgUnitNum);
    }

    public String[][] assignSupplier(String sourceCUNum, String[] destCUNum, String dataBaseNum) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.assignSupplier(sourceCUNum, destCUNum, dataBaseNum);
    }

    public String[][] deleteSupplier(String[] numbers, boolean ignoreCU) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.deleteSupplier(numbers, ignoreCU);
    }

    public String[][] importCustomerCompanyInfo(String number, String orgNumber, String paymentTypeNumber, String currencyNumber, String settlementTypeNum, String accountClassNum, String contactPerson, String contactPersonPost, String phone, String mobile, String fax, String email, String postalcode, String bank, String bankAccount, String bankAddress, boolean isTicketFreezed, String freezeOrgUnitNum) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCustomerCompanyInfo(number, orgNumber, paymentTypeNumber, currencyNumber, settlementTypeNum, accountClassNum, contactPerson, contactPersonPost, phone, mobile, fax, email, postalcode, bank, bankAccount, bankAddress, isTicketFreezed, freezeOrgUnitNum);
    }

    public String[][] assignCustomer(String sourceCUNum, String[] destCUNum, String databaseNum) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.assignCustomer(sourceCUNum, destCUNum, databaseNum);
    }

    public String[][] importSupplierPurchaseInfo(String number, String orgNumber, boolean isFreezeOrder, int grade, String billingOrgNum, String deliverOrgNum, String cashDiscountNum, int type, int day, int month, String freezeOrgUnitNum, String[] contactPerson, String[] contactPersonPost, String[] phone, String[] fax, String[] mobile, String[] email, String[] postalCode, String[] address) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importSupplierPurchaseInfo(number, orgNumber, isFreezeOrder, grade, billingOrgNum, deliverOrgNum, cashDiscountNum, type, day, month, freezeOrgUnitNum, contactPerson, contactPersonPost, phone, fax, mobile, email, postalCode, address);
    }

    public String[][] deleteCustomer(String[] numbers, boolean ignoreCU) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.deleteCustomer(numbers, ignoreCU);
    }

    public String[][] importCSSPGroup(String number, String name, String parentNumber, String standardNumber, String description) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCSSPGroup(number, name, parentNumber, standardNumber, description);
    }

    public String[][] importCustomerSaleInfo(String number, String orgNumber, boolean isSubsale, boolean isFreezeOrder, boolean isFreezeDelivery, String settlementOrgUnitNum, String billingOrgUnitNum, String deliverOrgUnitNum, double transAdvDay, int deliveryPriority, String cashDiscountNum, int cashKind, int monthBancance, int dayBancance, String[] linkMan, String[] contactPersonPost, String[] phone, String[] fax, String[] mobile, String[] email, String[] postalcode, String[] postAddress, String[] deliveryAddress) throws java.rmi.RemoteException, importcsspmanagerfacade.client.WSInvokeException {
        if (wSImportCSSPManagerFacadeSrvProxy == null)
            _initWSImportCSSPManagerFacadeSrvProxyProxy();
        return wSImportCSSPManagerFacadeSrvProxy.importCustomerSaleInfo(number, orgNumber, isSubsale, isFreezeOrder, isFreezeDelivery, settlementOrgUnitNum, billingOrgUnitNum, deliverOrgUnitNum, transAdvDay, deliveryPriority, cashDiscountNum, cashKind, monthBancance, dayBancance, linkMan, contactPersonPost, phone, fax, mobile, email, postalcode, postAddress, deliveryAddress);
    }


}